﻿namespace Sage.WindowsMouse.Models
{
    /// <summary>
    /// 鼠标设置数据模型
    /// </summary>
    public class MouseSettings
    {
        /// <summary>
        /// 鼠标速度 (1-20)
        /// </summary>
        public int Speed { get; init; } = -1;  // 使用-1表示未设置

        /// <summary>
        /// 双击时间 (100-5000毫秒)
        /// </summary>
        public int DoubleClickTime { get; init; } = -1;

        /// <summary>
        /// 滚轮滚动行数
        /// </summary>
        public int WheelScrollLines { get; init; } = -1;

        /// <summary>
        /// 鼠标悬停时间
        /// </summary>
        public int HoverTime { get; init; } = -1;

        /// <summary>
        /// 鼠标悬停区域宽度
        /// </summary>
        public int HoverWidth { get; init; } = -1;

        /// <summary>
        /// 鼠标悬停区域高度
        /// </summary>
        public int HoverHeight { get; init; } = -1;

        /// <summary>
        /// 鼠标轨迹 (0-9)
        /// </summary>
        public int MouseTrails { get; init; } = -1;

        /// <summary>
        /// 增强指针精度
        /// </summary>
        public bool? EnhancePointerPrecision { get; init; } = null;
    }
}
